/*
 * XMLSpecial.cpp
 *
 *  Created on: 16 mars 2011
 *      Author: bmaillot
 */

#include "XMLSpecial.h"
#include <string>

using namespace std;
XMLSpecial::XMLSpecial(std::string nodeName): XMLElement(nodeName)
{
}

std::string XMLSpecial::toString()
{
	//Début du tag
	string R = "<?" + this->nodeName;

	//Ajout des attributs
	R += attributesToString();

	//Fin
	R += "?>";

	return R;
}
